package com.pacy.swj.swjwb.beans;

/**
 * @author PACY
 * 创建时间 19/6/17 14:30.
 * 邮箱 pengwwe457621023@qq.com
 * 类描述
 */
public class BaseBean<T> {

    /**
     * success : true
     * code : 0
     * message : null
     * draw : 0
     */

    private boolean success;
    private String code;
    private String message;
    private int draw;
    private T data;

    public void setData(T data) {
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getDraw() {
        return draw;
    }

    public void setDraw(int draw) {
        this.draw = draw;
    }
}
